#include"server.hpp"

using namespace std;

int main(int argc, char* argv[])
{
    if (argc != 2)
    {
        cout << "Usage  " << argv[0] << "server port" << endl;
        exit(0);
    }

    server s(stoi(argv[1]));
    s.Init();
    s.run();
    return 0;
}